]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
userMenu: Rely on automatic texture changes
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Sep 2012 20:08:52 +0000 (22:08 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 17 Oct 2012 21:25:56 +0000 (23:25 +0200)
This reverts commit 6f3cf0ae50af0f7a9cd68760abe695009605c0d7.

https://bugzilla.gnome.org/show_bug.cgi?id=679268

js/ui/userMenu.js

index 6eb445f97d226fa19e29dd24085a914d5da95e31..464d8e4ef4811f6c0f830911f164ac4f82d388c8 100644 (file)
@@ -73,11 +73,6 @@ const UserAvatarWidget = new Lang.Class({
             let file = Gio.File.new_for_path(iconFile);
             this.actor.child = null;
             this.actor.style = 'background-image: url("%s");'.format(iconFile);
-
-            // AccountsService uses a fixed location for avatar images, so
-            // we need to clear out all cached data to pick up image changes,
-            // see https://bugzilla.gnome.org/show_bug.cgi?id=679268
-            this.actor.clear_background_image();
         } else {
             this.actor.style = null;
             this.actor.child = new St.Icon({ icon_name: 'avatar-default-symbolic',